package com.chixing.entity;

public class Department {
    private int deptNo;
    private String deptName;
    private String loc;
    public Department(){}
    public Department(int DeptNo, String DeptName, String loc)
    {
        this.deptNo = DeptNo;
        this.deptName = DeptName;
        this.loc = loc;
    }

    public int getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(int deptNo) {
        this.deptNo = deptNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    @Override
    public String toString() {
        return "Department{" +
                "DeptNo=" + deptNo +
                ", DeptName='" + deptName + '\'' +
                ", loc='" + loc + '\'' +
                '}';
    }
}
